#include "stdafx.h"
#include "base_compote.h"
#include "base_image.h"
base_compote::base_compote()
{
	

}

base_compote::~base_compote()
{

}

void base_compote::render()
{
	for (ElementCollIt it=get_element_coll().begin();it!=get_element_coll().end();++it)
	{
		if ((*it).second)
		{
			(*it).second->render();
		}
	}


}

void base_compote::update()
{
	for (ElementCollIt it=get_element_coll().begin();it!=get_element_coll().end();++it)
	{
		if ((*it).second)
		{
			(*it).second->update(); 
		}
	}

}